﻿using System.Xml.Serialization;

namespace FuiouPay.Models.Response {
    /// <summary>
    /// 统一下单响应报文
    /// </summary>
    [XmlRoot("xml")]
    public class PreCreateResponseInfo : FuiouResponseInfo {
        /// <summary>
        /// 预支付交易会话标识,富友返回支付宝生成的预支付回话标识，用于后续接口调用中使用，该值有效期为2小时
        /// </summary>
        [XmlElement("session_id")]
        public string SessionId { get; set; }

        /// <summary>
        /// 二维码链接
        /// </summary>
        [XmlElement("qr_code")]
        public string QrCode { get; set; }

        /// <summary>
        /// 富友生成的订单号,需要商户与商户订单号进行关联
        /// </summary>
        [XmlElement("reserved_fy_order_no")]
        public string ReservedFyOrderNo { get; set; }

        /// <summary>
        /// 富友系统内部追踪号
        /// </summary>
        [XmlElement("reserved_fy_trace_no")]
        public string ReservedFyTraceNo { get; set; }

        /// <summary>
        /// 条码流水号，用户账单二维码对应的流水
        /// </summary>
        [XmlElement("reserved_channel_order_id")]
        public string ReservedChannelOrderId { get; set; }
    }
}
